scalar or dot product of two vectors